import request from "@/utils/request";

export function getState() {
    return request({
        url: '/task/state',
        method: 'get',
    })
}
export function proxy(url, userId) {
    return request({
        url: `/m3u8/proxy?url=${url}&userId=${userId}`,
        method: 'get',
    })
}